<?php
$settings = $shop->getGlobalSettings();
if(($shop->GlobalSettings['show_cart'] == 1) || (count($cart->Items) > 0))
{
	$mod = new Module($katana, 49);
	$module[49]=getModTemplate(49);
	?>
    <div class="module">
		<div class="padding well well-sm">
        	<?php 
			if($module[49]['header'] > 0)
			{ 
				$module[49]['txt3'] = '';
				echo getHeader($module[49]['header'], $module[49]['name_l'], $module[49]['name_r'], $h_buttons[49], '', $module[49]['txt3']); 
			}
			?>
            <form name="cart_form" id="cart_form" method="post" action="">
                <div class="cart_content row">
                	<div class="col-md-6 col-sm-6 col-xs-6">
                    	<h3><?php echo ucfirst($txt->getWord('cart')); ?></h3>
						<?php if(count($cart->Items) > 0): ?>
                        <p>Det er <?php echo $cart->getCartItemsCount(); if($cart->getCartItemsCount() > 1) { echo ' varer '; } else { echo ' vare '; } ?>i handlekurven.<br /><?php echo ucfirst($txt->getWord('total')); ?> : 
						<?php 
						if($shop->getSetting['tax_included_prices'])
						{ echo number_format($cart->getAllItemsTotal(1),2,',',' '); }
						else
						{ echo number_format($cart->getAllItemsPrice(1),2,',',' '); }
						?> kr.</p>
                    </div>
                    <div class="col-md-6 col-sm-6 col-xs-6">
                        <div class="icons">
                            <a href="/c/15/" class="btn <?php echo $shop->getSetting('cart_btn_class'); ?>"><i class="fa fa-shopping-cart"></i>&nbsp;&nbsp;<?php echo ucfirst($txt->getWord('view_cart')); ?>&nbsp;&nbsp;</a>
                            <a href="/c/16/" class="btn <?php echo $shop->getSetting('checkout_btn_class'); ?>"><i class="fa fa-credit-card"></i>&nbsp;&nbsp;<?php echo ucfirst($txt->getWord('proceed_to_checkout')); ?>&nbsp;&nbsp;<i class="fa fa-chevron-right"></i></a>
                        </div>
                        <?php else:  ?>
                        <?php echo ucfirst($txt->getWord('your_cart_empty')); ?>
                        <?php endif; ?>
                        <input id="empty_cart" name="empty_cart" value="0" type="hidden" />
                    </div>
                </div>
            </form>
        </div>
    </div>
<?php 
}
?>